﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Light.Weixin.Model
{
    /// <summary>
    /// 微信平台应用类型
    /// </summary>
    public enum WxAppType
    {
        /// <summary>
        /// 公众号
        /// </summary>
        [Description("公众号")]
        Weixin = 0,

        /// <summary>
        /// 移动应用
        /// </summary>
        [Description("移动应用")]
        Mobile = 1,

        /// <summary>
        /// 网站应用
        /// </summary>
        [Description("网站应用")]
        Website = 2
    }

    /// <summary>
    /// 自动回复消息类型
    /// </summary>
    public enum WxAnswerType
    {
        [Description("被添加关注")]
        Subscribe = 1,

        [Description("关键字消息")]
        Keyword = 2,

        [Description("普通消息")]
        Default = 0
    }

    /// <summary>
    /// 微信消息类型
    /// </summary>
    public enum WxMsgType
    {
        /// <summary>
        /// 文字
        /// </summary>
        [Description("文字")]
        Text = 0,

        /// <summary>
        /// 图片
        /// </summary>
        [Description("图片")]
        Image = 1,

        /// <summary>
        /// 语音
        /// </summary>
        [Description("语音")]
        Voice = 2,

        /// <summary>
        /// 视频
        /// </summary>
        [Description("视频")]
        Video = 3,

        /// <summary>
        /// 事件
        /// </summary>
        [Description("事件")]
        Event = 4,

        /// <summary>
        /// 短视频
        /// </summary>
        [Description("短视频")]
        ShortVideo = 5,

        /// <summary>
        /// 短视频
        /// </summary>
        [Description("扫码")]
        Scan = 6,

        /// <summary>
        /// 音乐
        /// </summary>
        [Description("音乐")]
        Music = 7,

        /// <summary>
        /// 关注
        /// </summary>
        [Description("关注")]
        Subscribe = 8,

        /// <summary>
        /// 关注
        /// </summary>
        [Description("取消关注")]
        Unsubscribe = 9,

        /// <summary>
        /// 模板消息发送通知
        /// </summary>
        [Description("模板消息发送通知")]
        TemplateSendJobFinish = 10,

        /// <summary>
        /// 链接
        /// </summary>
        [Description("链接")]
        Link = 11,

        /// <summary>
        /// 位置
        /// </summary>
        [Description("位置")]
        Location = 12,

        /// <summary>
        /// 点击
        /// </summary>
        [Description("点击菜单")]
        Click = 13,

        /// <summary>
        /// 跳转链接
        /// </summary>
        [Description("跳转链接")]
        View = 14,

        /// <summary>
        /// 其他
        /// </summary>
        [Description("未知")]
        Other = 1000,
    }

    /// <summary>
    /// 带参数二维码类型
    /// </summary>
    public enum QrCodeType
    {
        /// <summary>
        /// 临时（scenceid 是整型）
        /// </summary>
        Temp,
        /// <summary>
        /// 永久（scenceid 是整型）
        /// </summary>
        Limit,
        /// <summary>
        /// 永久（scenceid 是字符串）
        /// </summary>
        LimitStr,
    }

    /// <summary>
    /// 媒体文件类型
    /// </summary>
    public enum MediaType
    {
        //媒体文件类型，分别有图片（image）、语音（voice）、视频（video）和缩略图（thumb）
        Image = 0,
        Voice = 1,
        Video = 2,
        Thumb = 3,
    }
}
